home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
shark_at.swf
/
scripts
/
frame_6
/
DoAction.as
Wrap
Text File
|
2010-03-13
|
586b
|
28 lines
function scroll()
{
_root.level._x -= _root.mascot.speed;
_root.mascot._x -= _root.mascot.speed;
_root.shark._x -= 2;
}
s_boing = new Sound();
s_boing.attachSound("boing");
s_chomp = new Sound();
s_chomp.attachSound("chomp");
s_pow = new Sound();
s_pow.attachSound("pow");
s_item = new Sound();
s_item.attachSound("item");
s_sploosh = new Sound();
s_sploosh.attachSound("sploosh");
level_limit = -4700;
rightlimit = 530;
leftlimit = 20;
shark_y = 308;
mascot.air = true;
level_length = 10;
score = 0;
enemies = 0;
lives = 3;
stop();
stopAllSounds();